1
0
forked from ports/contrib

smpeg: fix source url, clean up footprint

This commit is contained in:
John McQuah 2023-01-22 22:44:38 -05:00
parent bbfb16a9c1
commit f0d69a3c2c
4 changed files with 15 additions and 17 deletions

View File

@ -20,12 +20,10 @@ drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libsmpeg-0.4.so.0 -> libsmpeg-0.4.so.0.1.4
-rwxr-xr-x root/root usr/lib/libsmpeg-0.4.so.0.1.4
-rw-r--r-- root/root usr/lib/libsmpeg.a
-rwxr-xr-x root/root usr/lib/libsmpeg.la
lrwxrwxrwx root/root usr/lib/libsmpeg.so -> libsmpeg-0.4.so.0.1.4
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/aclocal/
-rw-r--r-- root/root usr/share/aclocal/smpeg.m4
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/gtv.1.gz
-rw-r--r-- root/root usr/share/man/man1/plaympeg.1.gz

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30wqMEUs9vcIZlltFHYvYSb+IReOuoFjiDx0ZXU0hAljj6EA1YTm8B5scP5iWy7kSI/gU8cMnoWN6qIpiUh1TQQ=
SHA256 (Pkgfile) = 537212c68f64d0f418c600bc6b441fb3135aad2e9833461f3d92a0b434969bf5
SHA256 (.footprint) = 67613a8dd579ca249cc311dd0a13be61ac168005889dccc6cc53190496d37ec7
SHA256 (smpeg-0.4.5.tar.xz) = c1551535476ed521c7e1fff446846d44027cd4a8afe2ce30d71f6ef8bd6759ea
RWSagIOpLGJF3yUJE/JpD/sWytQvTTpauXXlPmajf4MU+lualPsjOoZ0L/scYZG5D0hwDFemCP8I6QkuyE2CjM+F2f3pu0KrXgE=
SHA256 (Pkgfile) = 286cf2c3dc4d36166833a8df5ca3d465da61f4a6f1f9dbe36cd7b16446fcf8e3
SHA256 (.footprint) = ede54dc30aef43ce661b40034d9baa24d933bfb17e707247654969c26494e96c
SHA256 (smpeg-0.4.5.zip) = 4b40a6e8b3749995f4098c201823deaafa51ea186338f3130d6540509e00191d

View File

@ -6,16 +6,24 @@
name=smpeg
version=0.4.5
release=2
source=(http://crux.ster.zone/downloads/$name/$name-$version.tar.xz)
source=(https://github.com/icculus/smpeg/archive/refs/tags/release_${version//./_}.zip)
renames=($name-$version.zip)
build() {
cd $name-$version
cd $name-release_*
CFLAGS+=' -Wno-error=narrowing'
export LDFLAGS="${LDFLAGS} -lX11"
./autogen.sh
./configure \
--prefix=/usr \
--mandir=/usr/share/man
--mandir=/usr/share/man \
--enable-gtk-player=no # but its man-page is still installed?
make
make install DESTDIR=$PKG
# delete la file and the dangling man-page
rm -f $PKG/usr/lib/lib$name.la
rm -f $PKG/usr/share/man/man1/gtv.1
}

View File

@ -1,8 +0,0 @@
svn checkout svn://svn.icculus.org/smpeg/tags/release_0_4_5
mv release_0_4_5 smpeg-0.4.5
cd smpeg-0.4.5
./autogen.sh
cd ..
bsdtar -c -f smpeg-0.4.5.tar smpeg-0.4.5
xz -9 smpeg-0.4.5.tar